<div class="pageContent">
	
	<form method="post" action="__URL__/insert/navTabId/__MODULE__?callbackType=closeCurrent" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>区块名称：</label>
				<select name="block_id">
					<option value="null">未选择</option>
					<php>foreach(C('BM_BLOCK_NAME') as $k=>$v){</php>
					<option value="{$k}">{$v}</option>
					<php>}</php>
				</select>
			</div>
            <div class="unit">
                <label>区块类型：</label>
                <select name="type">
					<option value="null">未选择</option>
					<php>foreach(C('BM_TYPE_NAME') as $k=>$v){</php>
					<option value="{$k}">{$v}</option>
					<php>}</php>
				</select>
            </div>
			<div class="unit">
				<label>描述字段：</label>
                <input type="text" size="40" name="desc" />
			</div>
			<div class="unit">
				<label>图片地址：</label>
                <input type="text" size="40" name="img_url" />
			</div>
			<div class="unit">
				<label>链接地址：</label>
				<input type="text" size="40" name="href_url" />
			</div>
			<div class="unit">
				<label>扩展内容：</label>
				<textarea name="context" rows="3" cols="57"></textarea>
			</div>
			<div class="unit">
				<label>是否激活：</label>
				<select name="is_active">
					<option value="0">禁用</option>
					<option value="1">激活</option>
				</select>
			</div>
			<div class="unit">
				<label>排序：</label>
				<input type="text" name="sort" /><span class="info">排序(数值越大优先级越高)</span>
			</div>
			
			<div class="unit">
				<label>有效时间：</label>
				<input type="text" name="start_time" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" /><a class="inputDateButton" href="javascript:;">选择</a>
				<label style="width:30px;">&nbsp;&nbsp;至</label>
				<input type="text" name="end_time" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true" /><a class="inputDateButton" href="javascript:;">选择</a>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>



